numbers = list(range(3,30,3))
for num in numbers:
    print(num)